﻿
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace CTP.CRM.Core.MongoDB.Dto
{
    public class MongoDocumentBase
    {
        [BsonId]
        public ObjectId Id { get; set; }

        [BsonElement("version")]
        public int Version { get; set; }

        [BsonElement("lastModyfyTime")]
        public string LastModyfyTime { get; set; }
    }
}
